#include <Open3D/Open3D.h>


void show(const std::vector<unsigned int>& ground, const  std::vector<Eigen::Vector3d, Eigen::aligned_allocator<Eigen::Vector3d>>& pc)
{
	auto point_cloud = std::make_shared<open3d::geometry::PointCloud>();
	for (const auto& i : ground)
	{
		point_cloud->points_.push_back(pc[i]);
		point_cloud->colors_.emplace_back(0, 0, 255);
	}
	open3d::visualization::DrawGeometries({ point_cloud });
}
